<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>新订订单 - 物流管理系统</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<style media="all" type="text/css">@import "../style/all.css";</style>
	<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
	<script type="text/javascript">
	function find(){
		var idcard=document.getElementById("idcard").value;
		var mobile=document.getElementById("mobile").value;
		window.location.href="../customer/getlCustomer?idcard="+idcard+"&mobile="+mobile;
	};
	</script>
</head>
<body style="background: none">
			<div class="top-bar">
				<h1>新订订单</h1>
				<div class="breadcrumbs">
					<div class="button-bar">
						<input type="button" name="Submit" value="帮助" class="button"/>
						<input type="button" name="Submit" value="查询" onclick="find()"  class="button"/>
					</div>
					<a href="../index.jsp" target="_top">首页</a> / <a href="../cus_server/index.jsp" target="_top">客户服务中心</a>
				</div>
			</div>
<form>
		  <div class="select-bar">
			<table class="select-table">
				<tr>
					<th>身份证号</th>
					<td><input type="text" name="idcards" id="idcard" class="text"/></td>
					<th>电话号码</th>
					<td><input type="text" name="mobile" id="mobile" class="text"/></td>
				</tr>
			</table>
			</div>
	</form>
			<div class="table">
				<img src="../style/img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
				<img src="../style/img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
				<table class="listing" cellpadding="0" cellspacing="0">
					<tr>
						<th class="first">客户编号</th>
						<th>客户姓名</th>
						<th>身份证编号</th>
						<th>移动电话</th>
						<th>联系地址</th>
						<th class="last"></th>
					</tr>
					<c:forEach items="${list }" var="list">
						<tr>
							<td id="customerid">${list.customerid }</td>
							<td id="customername2">${list.customername }</td>
							<td id="idcard2">${list.idcard }</td>
							<td id="mobile2">${list.mobile }</td>
							<td id="workplace">${list.workplace }</td>
							<td>
								<a href="../customer/getAllfirstClass/${list.customerid }"><b>新订</a>
							</td>
						</tr>
					</c:forEach>
				</table>
				<div class="pager">
					共59条记录 每页<input type="text" class="text" size="2" value="10"/>条
					第1页/共5页
					<a href="#">第一页</a>
					<a href="#">上一页</a>
					<a href="#">下一页</a>
					<a href="#">最后一页</a>
					转到<input type="text" class="text" size="1" value="1"/>页
					<input type="button" class="button" onclick="" value="GO"/>
				</div>
			</div>
</body>
</html>
